/**
 * 定义一系列的算法,把它们一个个封装起来, 并且使它们可相互替换
 * 本模式使得算法可独立于使用它的客户而变化
 * @author MIAO
 * Created on 2011-10-6
 * For more information, please visit:ismiao.com
 */
package designPattern;

import ismiao.com.designPattern.Strategy.AirCraft;
import ismiao.com.designPattern.Strategy.Helicopter;

import org.junit.Ignore;
import org.junit.Test;

public class TestStrategy {
	@Ignore("此测试实为无效测试，因采用out.println()，旨在说明Strategy的用法！")
	@Test
	public void showHelicopter() {
		AirCraft airCraft = (Helicopter) new Helicopter();
		airCraft.fly();
	}
}
